package com.serviceimpl;

import com.javabean.User;
import com.mapper.UserMapper;
import com.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserMapper userMapper;

    public ArrayList<User> findAll() {
        return userMapper.selectAll();
    }
}
